package fr.upmc.aladyn.transactionables.javassist.injection;

import fr.upmc.aladyn.transactionables.javassist.injection.TransactionableTranslator;
import javassist.ClassPool;
import javassist.Loader;
import javassist.Translator;


/**
 * <p>Run the test Application with Javassist injection.</p>
 * @author Alexis Deluze
 *
 */
public class MainTestApplicationInjectionWithThreads {
	public static void main ( String [ ] args ) throws Throwable {
		Translator t = new TransactionableTranslator();
		ClassPool pool = ClassPool.getDefault();
		Loader cl = new Loader();
		cl.addTranslator(pool, t);
		cl.run("fr.upmc.aladyn.transactionables.tests.application.MainWithThreads", args);
	}
}